								<div class="group">				
									<a href="<?= userlink($D->s->stock_name) ?>" class="groupavatar" title="<?= htmlspecialchars($D->s->stock_name) ?>"><img src="<?= $C->IMG_URL ?>avatars/thumbs1/<?= $D->s->avatar ?>" style="width:50px; height:50px;" /></a>
									<div class="groupinfo">
										<a href="<?= userlink($D->s->stock_name) ?>" class="groupname" title="<?= htmlspecialchars($D->s->stock_name) ?>"><?= str_cut('$'.$D->s->stock_code.'('.$D->s->stock_name.')',25) ?></a>
										<div class="followbtnsbox">
										<?php if( ! $this->user->is_logged ) { ?>
										<?php } elseif(!$this->user->if_follow_stock($D->s->stock_id)) { ?>
											<a href="javascript:;" id="stck_followbtn_<?= $D->s->stock_id ?>" onclick="stock_follow('<?= $D->s->stock_name ?>',this,'stck_unfollowbtn_<?= $D->s->stock_id ?>','<?= addslashes($this->lang('msg_follow_stock_on',array('#STOCKNAME#'=>$D->s->stock_name))) ?>');" class="followusr" onfocus="this.blur();"><b><?= $this->lang('stcklist_tltp_follow') ?></b></a>
											<a href="javascript:;" style="display:none;" id="stck_unfollowbtn_<?= $D->s->stock_id ?>" onclick="stock_unfollow('<?= $D->s->stock_name ?>',this,'stck_followbtn_<?= $D->s->stock_id ?>','<?= addslashes($this->lang('stock_unfollow_confirm',array('#STOCKNAME#'=>$D->s->stock_name))) ?>','<?= addslashes($this->lang('msg_follow_stock_off',array('#STOCKNAME#'=>$D->s->stock_name))) ?>');" class="unfollowusr" onfocus="this.blur();"><b><?= $this->lang('stcklist_tltp_unfollow') ?></b></a>
										<?php } elseif($this->user->if_follow_stock($D->s->stock_id)) { ?>
											<a href="javascript:;" style="display:none;" id="stck_followbtn_<?= $D->s->stock_id ?>" onclick="stock_follow('<?= $D->s->stock_name ?>',this,'stck_unfollowbtn_<?= $D->s->stock_id ?>','<?= addslashes($this->lang('msg_follow_stock_on',array('#STOCKNAME#'=>$D->s->stock_name))) ?>');" class="followusr" onfocus="this.blur();"><b><?= $this->lang('stcklist_tltp_follow') ?></b></a>
											<a href="javascript:;" id="stck_unfollowbtn_<?= $D->s->stock_id ?>" onclick="stock_unfollow('<?= $D->s->stock_name ?>',this,'stck_followbtn_<?= $D->s->stock_id ?>','<?= addslashes($this->lang('stock_unfollow_confirm',array('#STOCKNAME#'=>$D->s->stock_name))) ?>','<?= addslashes($this->lang('msg_follow_stock_off',array('#STOCKNAME#'=>$D->s->stock_name))) ?>');" class="unfollowusr" onfocus="this.blur();"><b><?= $this->lang('stcklist_tltp_unfollow') ?></b></a>
										<?php } ?>
										</div>
										
										<div class="grouptext">
											<?= $D->s->num_followers ?> <?= $this->lang($D->s->num_followers==1?'stcklist_numfollowers1':'stcklist_numfollowers') ?>,
											<?= $D->s->num_posts ?> <?= $this->lang($D->s->num_posts==1?'stcklist_numposts1':'stcklist_numposts') ?>
										</div>
									</div>
								</div>